import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import router from "./router";
import { Expand, TrendCharts, TopRight, Search } from "@element-plus/icons";
import "element-plus/theme-chalk/display.css";
import "element-plus/dist/index.css";
import VueClipboard from "vue-clipboard2";
// import VueResource from 'vue-resource'
import axios from "axios";

// axios.defaults.withCredentials = true
// import all element css, uncommented next line
// import "element-plus/dist/index.css";
// or use cdn, recommended
// see index.html

const app = createApp(App);
app.config.globalProperties.$axios = axios;
app.use(router);
app.use(ElementPlus);
app.use(VueClipboard);
app.component("Expand", Expand);
app.component("TrendCharts", TrendCharts);
app.component("TopRight", TopRight);
app.component("Search", Search);
app.mount("#app");
